<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ taglib uri="/comp" prefix="comp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>欢迎访问产品运营互动中心！</title>
		<%@ include file="/commons/include/head-meta.inc.jsp"%>
		<script type="text/javascript">
			function clearFormData(){
				$('input[type="text"]','#searchForm').val('');
			}
		</script>	
	</head>
	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
		<table width="980" border="0" cellspacing="0" cellpadding="0"
			align="center">
			<tr>
				<td>
					<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<s:url value="/images/new/gxzl_index_2.gif"/>">

						<tr>
							<td width="20" height="32">
								&nbsp;
							</td>
							<td width="20">
								<img src="<s:url value="/images/new/dq_dot.gif"/>" width="15" height="12" />
							</td>
							<td>
								当前位置：<font color="#003399">业务需求交互单->合同业务退出</font>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td class="leftbg">
					<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
						<tr>
							<td valign="top" style="padding-top: 12px">
							<form id="searchForm" action="flowContractInfo_findValidContractList.action" method="post" style="margin: 0">

								<table width="98%" cellSpacing=1 cellPadding=2 align="center" class="tablecolor2">
									<tr>
										<td style="width: 120px">合同名称：</td>
										<td><input name="contractInfoForm.contractName" type="text" value="${contractInfoForm.contractName }" style="width: 90%" /></td>
										<td style="width: 120px">对方公司名称：</td>
										<td><input name="contractInfoForm.signatoriesName" type="text" value="${contractInfoForm.signatoriesName }" style="width: 90%" /></td>
									</tr>
									<tr>
										<td style="width: 120px">合同正式编号：</td>
										<td><input name="contractInfoForm.serial" type="text" value="${contractInfoForm.serial }" style="width: 200px" /></td>
										<td style="width: 120px">起草人：</td>
										<td><input name="contractInfoForm.creatorName" type="text" value="${contractInfoForm.creatorName }" style="width: 150px" /></td>
									</tr>
									<tr>
																			
										<td align=left colspan="4">
					                     <input type="button" name="searchBtn" onclick="document.forms[0].submit();"  value="查 询">
					                     <input type="button" name="resetBtn" onclick="clearFormData();"  value="重 置">
										</td>								
									</tr>
								</table>
							</form>
							<table width="98%" border="0" cellspacing="0" cellpadding="7" align="center" class="tablecolor2" style="margin-top: 12px">
								<tr>
									
									<td bgcolor="9AC2EB" width="*" align="center">
										合同名称
									</td>
									<td bgcolor="9AC2EB" width="11%" align="center">
										正式合同编号
									</td>
									<td bgcolor="9AC2EB" width="10%" align="center">
										合同对方
									</td>
									<td bgcolor="9AC2EB" width="11%" align="center">
										合同起草人
									</td>
									<td bgcolor="9AC2EB" width="11%" align="center">
										生效时间
									</td>
									<td bgcolor="9AC2EB" width="11%" align="center">
										到期时间
									</td>
									<td bgcolor="9AC2EB" width="11%" align="center">
										顺延时间
									</td>
									<td bgcolor="9AC2EB" width="7%" align="center">
										效力
									</td>
									<td bgcolor="9AC2EB" width="6%" align="center">
										操作
									</td>
								</tr>
								<s:iterator value="#request.datalist">
								<tr>
									
									<td><s:property value="contractName" /></td>
									<td><s:property value="serial" /></td>
									<td><s:property value="signatoriesName" /></td>
									<td align="center"><s:property value="creatorName" /></td>
									<td align="center"><s:date name="effectTime" format="yyyy-MM-dd" /></td>
									<td align="center"><s:date name="maturityTime" format="yyyy-MM-dd" /></td>
									<td align="center"><s:date name="postponeTime" format="yyyy-MM-dd" /></td>
									<td align="center"><s:property value="potency" /></td>
									<td align="center"><a style="color: blue;" href="flowContractInfo_applyInit.action?contractId=<s:property value="id" />">申请</a></td>
								</tr>
								</s:iterator>							
							</table>
							<div style="text-align: center">${pageNaviStr }</div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>